package com.dayuan.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dayuan.bean.OrderInfo;

public interface OrderInfoMapper {
	int deleteByPrimaryKey(Long id);

	int insert(OrderInfo record);

	int insertSelective(OrderInfo record);
	
	int selectCountByOrderId(Long orderId);
	
	List<OrderInfo> selectCountByOrderIdForPage(@Param("orderId") Long orderId,@Param("startIndex")
	Integer startIndex,@Param("pageNum") Integer pageNum);
	
	OrderInfo selectByPrimaryKey(Long id);

	List<OrderInfo> selectByOrderId(Long orderId);

	int updateByPrimaryKeySelective(OrderInfo record);

	int updateByPrimaryKey(OrderInfo record);
}